/*主模块样式表*/
nav {
    background-color: #f5f5f5;
}

.carousel {
    position: relative;
    overflow: hidden;
    height: 500px;
    background-color: rgba(0, 0, 0, .3);
}

.carousel .carousel-images {
    width: 3720px;
    height: 500px;
}

.carousel li img {
    width: 1240px;
    height: 500px;
}

.carousel ul li {
    float: left;
}

.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 251px;
    height: 500px;
    background-color: rgba(0, 0, 0, .8);
    line-height: 49px;
    font-size: 14px;
    color: #fff;
}

.main-nav a {
    display: block;
    height: 50px;
    padding-left: 36px;
    font-size: 14px;
    color: #fff;
    transition: .4s;
}

.main-nav a span {
    font-size: 16px;
}

.main-nav ol li {
    position: relative;
}

.main-nav ol li::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 19px;
    width: 6px;
    height: 11px;
    background: url("../images/sprites.png") no-repeat -80px -110px;
}

.main-nav li a:hover {
    color: #fff !important;
    background-color: #27ba9b;
}

.pre,
.next {
    position: absolute;
    width: 45px;
    height: 44px;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .2);
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.pre {
    top: 50%;
    left: 260px;
    transform: translateY(-50%);
}

.next {
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
}

.pre .pre-img {
    position: absolute;
    width: 13px;
    height: 22px;
    top: 50%;
    left: 47%;
    transform: translate(-50%, -50%);
    background: url("../images/sprites.png") no-repeat 0 -70px;
}

.next .next-img {
    position: absolute;
    width: 13px;
    height: 22px;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    background: url("../images/sprites.png") no-repeat -40px -70px;
}

.pre:hover,
.next:hover {
    background-color: rgba(0, 0, 0, .6);
}

.carousel .dots {
    position: absolute;
    left: 680px;
    bottom: 31px;
}

.carousel .dots li {
    float: left;
    margin: 0 12px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .4);
    cursor: pointer;
}

.active {
    background-color: #fff!important;
}

.recommend {
    height: 1094px;
    background-color: #fff;
}

.fresh-thing {
    height: 519px;
}
.popular{
    height: 575px;
}

.fresh-thing .describe {
    height: 114px;
}

.popular .describe {
    height: 113px;
}

.describe>div {
    height: 31px;
    margin-top: 48px;
}

.describe div h4 {
    display: inline-block;
    font-size: 29px;
    line-height: 29px;
    font-weight: 400;
    color: #333;
}

.describe div span {
    margin-left: 30px;
    font-size: 16px;
    color: #999;
}

.describe div .more {
    position: relative;
    display: inline-block;
    float: right;
    margin-right: 22px;
    height: 31px;
    font-size: 16px;
    line-height: 40px;
    color: #999;
}

.describe div .more::after {
    position: absolute;
    top: 15px;
    right: -15px;
    content: '';
    width: 7px;
    height: 13px;
    background: url("../images/sprites.png") no-repeat 0 -110px;
}

.goods1 ul li {
    float: left;
    margin-right: 8px;
    width: 304px;
    height: 405px;
}

.goods1 ul li>a {
    display: block;
    width: 100%;
    height: 100%;
}

.goods1 ul li:nth-of-type(4n) {
    margin-right: 0;
}

.goods-img {
    position: relative;
}

.new {
    position: absolute;
    padding: 5px 3px;
    font-size: 18px;
    line-height: 18px;
    top: 15px;
    left: 10px;
    color: #27ba9b;
    border: 2px solid #27ba9b;
    border-radius: 3px;
}

.goods1 .goods-img img {
    width: 304px;
    height: 305px;
}

.goods-price {
    text-align: center;
    height: 100px;
    background-color: #f0f9f4;
}

.goods-info {
    text-align: center;
    height: 100px;
}

.goods-info .goods-title {
    line-height: 58px;
    font-size: 20px;
    color: #333;
}
.goods-price .goods-title {
    line-height: 58px;
    font-size: 20px;
    color: #333;
}

.goods-price .price {
    font-size: 23px;
    color: #9a2e1f;
}

.goods-price .price::before {
    content: '¥';
    margin-right: 3px;
    font-size: 17px;
}

.font-style {
    font-size: 16px;
    color: #999;
}